/*******************************************************************
 * 
 * @Version : 0.5 
 *
 * MapMonsterDef.java 
 *
 * 2011-10-11 下午01:53:14
 *
 *******************************************************************/
package game.breeze.resource;

import game.breeze.math.Position;

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

/**
 * Class desc there
 * 
 * @author yangwei ywengineer@gmail.com
 * 
 */
public class MapMonsterDef extends MapItemDef {
	// 怪物ID
	private int monster;
	// 移动坐标
	private List<Position> movePoints;

	public MapMonsterDef() {
		movePoints = new ArrayList<Position>();
	}

	public void addMovePostion(Position p) {
		movePoints.add(p);
	}

	public List<Position> getMovePoints() {
		return Collections.unmodifiableList(movePoints);
	}

	/**
	 * @return the monster
	 */
	public int getMonster() {
		return monster;
	}

	/**
	 * @param monster
	 *            the monster to set
	 */
	public void setMonster(int monster) {
		this.monster = monster;
	}
}
